<?php
/**
 * @package      OWNServices
 * @subpackage   Site
 *
 * @author       Sanawin Tinsuwan
 * @copyright    Copyright (C) 20014 Sanawin Tinsuwan. All rights reserved.
 * @license      http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt
 */

defined('_JEXEC') or die();
JHtml::_('behavior.keepalive');
?>
<div class="form-box" id="login-box">
    <div class="header">Sign In</div>
    <form action="<?php echo JRoute::_('index.php?option=com_ownservices&task=user.login'); ?>" method="post" class="form-validate form-horizontal well">
        <div class="body bg-gray">
            <div class="form-group">
                <input type="text" id="username" name="username" class="validate-username required form-control" required aria-required="true" placeholder="User ID"/>
            </div>
            <div class="form-group">
                <input type="password" id="password" name="password" class="form-control" required aria-required="true" placeholder="Password"/>
            </div>
            <div class="form-group">
                <input type="checkbox" id="remember" name="remember" value="yes"/> Remember me
            </div>
        </div>
        <div class="footer">
            <button type="submit" class="btn bg-olive btn-block">Sign me in</button>
        </div>
        <input type="hidden" name="return" value="<?php echo base64_encode(JRoute::_('index.php?option=com_ownservices')); ?>" />
        <?php echo JHtml::_('form.token'); ?>
    </form>
</div>